import {
    HomeOutlined,
    AppstoreOutlined,
    BarsOutlined,
    AppstoreAddOutlined,
    UserOutlined,
    SkinOutlined,
    AreaChartOutlined,
    BarChartOutlined,
    LineChartOutlined,
    PieChartOutlined
} from '@ant-design/icons'

const menuList = [
    {
        name : '首页',
        path : '/home',
        icon : <HomeOutlined />
    },
    {
        name : '商品',
        icon : <AppstoreOutlined />,
        path : '/products',
        children : [
            {
                name : '商品分类',
                path : '/category',
                icon : <BarsOutlined />
            },
            {
                name : '商品管理',
                path : '/product',
                icon : <AppstoreAddOutlined />
            }
        ]
    },
    {
        name : '用户管理',
        path : '/user',
        icon : <UserOutlined />
    },
    {
        name : '角色管理',
        path : '/role',
        icon : <SkinOutlined />
    },
    {
        name : '图形图标',
        icon : <AreaChartOutlined />,
        path : '/maps',
        children : [
            {
                name : '柱状图',
                path : '/column',
                icon : <BarChartOutlined />
            },
            {
                name : '折线图',
                path : '/line',
                icon : <LineChartOutlined />
            },
            {
                name : '饼状图',
                path : '/circle',
                icon : <PieChartOutlined />
            }
        ]
    },
]

export default menuList